package com.tiger.project.domain;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.tiger.common.annotation.Excel;
import com.tiger.common.core.domain.BaseEntity;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;

/**
 * 【合同变更记录】对象 contract_sponsor_alter
 *
 * @author standard
 * @date 2022-09-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "contract_sponsor_alter对象", description = "【合同变更记录】内容")
public class ContractSponsorAlter extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    private Long id;

    /**
     * 合同发起id
     */
    @Excel(name = "合同发起id")
    @ApiModelProperty(value = "合同发起id")
    private Long contractSponsor;

    /**
     * 变更时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "变更时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "变更时间")
    private Date alterTime;

    /**
     * 变更版本
     */
    @Excel(name = "变更版本")
    @ApiModelProperty(value = "变更版本")
    private Integer alterVersion;

    /**
     * 原年租金
     */
    @Excel(name = "原年租金")
    @ApiModelProperty(value = "原年租金")
    private BigDecimal yearlyRent;

    /**
     * 原付款周期
     */
    @Excel(name = "原付款周期")
    @ApiModelProperty(value = "原付款周期")
    private String paymentCycle;

    /**
     * 变更后年租金
     */
    @Excel(name = "变更后年租金")
    @ApiModelProperty(value = "变更后年租金")
    private BigDecimal alterYearlyRent;

    /**
     * 变更后付款周期
     */
    @Excel(name = "变更后付款周期")
    @ApiModelProperty(value = "变更后付款周期")
    private String alterPaymentCycle;

    /**
     * 变更状态
     */
    @Excel(name = "变更状态")
    @ApiModelProperty(value = "变更状态")
    private Long alterationState;

    @ApiModelProperty(value = "变更说明")
    private String alterExplain;


}
